// src/main/java/cn/edu/tju/elm/model/dto/RewardRuleDTO.java
package cn.edu.tju.elm.model.dto;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class RewardRuleDTO {
    private Long id;
    private String ruleName;
    private String authorityName; // 新增字段
    private BigDecimal minRechargeAmount;
    private BigDecimal rewardAmount;
    private BigDecimal rewardRate;
    private BigDecimal withdrawFeeRate;
    private Boolean isActive;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    // Getter 和 Setter 方法
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    
    public String getRuleName() { return ruleName; }
    public void setRuleName(String ruleName) { this.ruleName = ruleName; }
    
    public String getAuthorityName() { return authorityName; }
    public void setAuthorityName(String authorityName) { this.authorityName = authorityName; }
    
    public BigDecimal getMinRechargeAmount() { return minRechargeAmount; }
    public void setMinRechargeAmount(BigDecimal minRechargeAmount) { this.minRechargeAmount = minRechargeAmount; }
    
    public BigDecimal getRewardAmount() { return rewardAmount; }
    public void setRewardAmount(BigDecimal rewardAmount) { this.rewardAmount = rewardAmount; }
    
    public BigDecimal getRewardRate() { return rewardRate; }
    public void setRewardRate(BigDecimal rewardRate) { this.rewardRate = rewardRate; }
    
    public BigDecimal getWithdrawFeeRate() { return withdrawFeeRate; }
    public void setWithdrawFeeRate(BigDecimal withdrawFeeRate) { this.withdrawFeeRate = withdrawFeeRate; }
    
    public Boolean getIsActive() { return isActive; }
    public void setIsActive(Boolean isActive) { this.isActive = isActive; }
    
    public LocalDateTime getCreateTime() { return createTime; }
    public void setCreateTime(LocalDateTime createTime) { this.createTime = createTime; }
    
    public LocalDateTime getUpdateTime() { return updateTime; }
    public void setUpdateTime(LocalDateTime updateTime) { this.updateTime = updateTime; }
}